package com.nisure.service;

import java.util.List;
import java.util.Map;

import com.nisure.entities.FormCustomerEntity;

public interface FormCustomerService {
	Integer findMaxId(String dsId);
	List<FormCustomerEntity> selectNeedHandleData(Map<String, Object> map, String dsId);
	int insertFormCustomer(FormCustomerEntity formCustomerEntity, String dsId);
	void insertFormCustomers(List<FormCustomerEntity> list, String dsId);
	void updateFormCustomer(FormCustomerEntity formCustomerEntity, String dsId);
	void deleteFormCustomer(Map<String, Object> map, String dsId);
	void updateFormCustomers(List<FormCustomerEntity> list, String dsId);
	List<FormCustomerEntity> selectByParams(Map<String, Object> map, String dsId);
	Integer selectByParamsTotal(Map<String, Object> map, String dsId);
	List<FormCustomerEntity> selectNeedData(Map<String, Object> map, String dsId);
	
	//调用存储过程
	Integer getNeedHandleData(Map<String, Object> map, String dsId);
	List<FormCustomerEntity> selectNeedDataList(Map<String, Object> map, String dsId);
}
